package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;
import java.util.Date;

import com.lanchetech.bean.request.TicketPageReq;
import com.lanchetech.bean.vo.TicketVO;
import com.lanchetech.entity.Ticket;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TicketMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Ticket record);

    int insertSelective(Ticket record);

    Ticket selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Ticket record);

    int updateByPrimaryKey(Ticket record);

    List<TicketVO> findAllPage(TicketPageReq req);

    int updateDeletedById(@Param("updatedDeleted")Byte updatedDeleted,@Param("id")Long id);


}